import * as types from '../_types/lastPrice';
import { IReduxLastPrice } from '../interface';

export function insertLastPrice(coinType: string, lastPrice: IReduxLastPrice) {
    return {
        type: types.INSERT_LAST_PRICE,
        payload: {
            coinType,
            lastPrice
        }
    }
}

export type IFuncInsertLastPrice = typeof insertLastPrice;
